package com.gofun.framework.dubbo.core.environment.config;

import com.gofun.framework.dubbo.core.environment.ConfigMapping;

/**
 * @Project       : framework-dubbo-core
 * @Program Name  : com.ljt.framework.dubbo.core.environment.property.IntegrationConfigNum.java
 * @Description   : dubbo集成配置枚举
 * @Author        : wangchao
 * @Creation Date : 2016年5月28日 上午11:50:39 
 * @ModificationHistory  
 * Who          When             What 
 * ----------   -------------    -----------------------------------
 * wangchao     2016年5月28日        create
 */
public enum IntegrationConfigEnum {
	
	ANNOTATION(AnnotationConfigEnum.values(),"注解配置"),
	
	APPLICATION(ApplicationConfigEnum.values(),"应用信息配置"),
	
	PROVIDER(ProviderConfigEnum.values(),"服务提供者缺省值配置"),
	
	PROTOCOL(ProtocolConfigEnum.values(),"服务提供者协议配置"),
	
	REGISTRY(RegistryConfigEnum.values(),"注册中心配置"),
	
	SERVICE(ServiceConfigEnum.values(),"服务提供者暴露服务配置"),
	
	CONSUMER(ConsumerConfigEnum.values(),"服务消费者默认配置"),
	
	REFERENCE(ReferenceConfigEnum.values(),"服务消费者引用服务配置"),
	
	;
	
	public ConfigMapping[] mappings;
	
	public String desc;
	
	private IntegrationConfigEnum(ConfigMapping[] mappings,String desc) {
		this.mappings = mappings;
		this.desc = desc;
	}

}
